package com.xiaorun.portal.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 七牛图片相关数据
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "qiniu")
public class QiNiuConfig {
    private String accessKey;
    private String secretKey;
    private String bucket;
    private String domain;

    /*public static void init(String qiniuAccessKey, String qiniuSecretKey, String qiniuBucket, String qiniuVisitUrl, String area) {
        qiniu_accessKey = qiniuAccessKey;
        qiniu_secretKey = qiniuSecretKey;
        qiniu_bucket = qiniuBucket;
        qiniu_visit_url = qiniuVisitUrl;
        area = area;
    }*/


}



